import { MockAdapter } from '@/mock/mock-adapter';
const mock = MockAdapter.getInstance();

import Mock from 'mockjs'
const Random = Mock.Random;

// 获取应用数据
mock.onGet('v7/centralappmenu').reply((config: any) => {
    let status = MockAdapter.mockStatus(config);
    return [status, {
        name: 'appmenu',
        items:  [
            {
	id: '73df7da258a8fd0f68afb4b52dc31e38',
	name: 'user_menus',
	text: '用户菜单',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '用户菜单',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
            {
	id: 'ee69440287e1034e18fb0be6c422b770',
	name: 'top_menus',
	text: '顶部菜单',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '顶部菜单',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: '53209e4357b4a907f89ac7fe3d5bc287',
	name: 'menuitem3',
	text: '系统设置',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '系统设置',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cog',
	icon: '',
	textcls: '',
	appfunctag: 'Auto26',
	resourcetag: '',
	items: [
		{
	id: 'ba861bc02473e14cfbb38e595752be79',
	name: 'menuitem39',
	text: '区域',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '区域',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cog',
	icon: '',
	textcls: '',
	appfunctag: 'Auto24',
	resourcetag: '',
},
		{
	id: '8d6e526f7b5d2d14fe1d433926c5c2bb',
	name: 'menuitem26',
	text: '货币',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '货币',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-rmb',
	icon: '',
	textcls: '',
	appfunctag: 'Auto29',
	resourcetag: '',
},
		{
	id: 'fda4e1030d9603fcffa274a0b01d85b6',
	name: 'menuitem4',
	text: '链接角色',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '链接角色',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-link',
	icon: '',
	textcls: '',
	appfunctag: 'Auto27',
	resourcetag: '',
},
		{
	id: 'dde7f6157aa18ed1ce409f54266bc18f',
	name: 'menuitem33',
	text: '计价单位',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '计价单位',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cog',
	icon: '',
	textcls: '',
	appfunctag: 'Auto21',
	resourcetag: '',
},
		{
	id: '4ff857ac470f65ef4953a3569b1e6fd3',
	name: 'menuitem36',
	text: '计价单位组',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '计价单位组',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cog',
	icon: '',
	textcls: '',
	appfunctag: 'Auto18',
	resourcetag: '',
},
		{
	id: '2bd0cafcb4f47efe8b90fb64b6c88594',
	name: 'menuitem37',
	text: '价目表',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '价目表',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-list-alt',
	icon: '',
	textcls: '',
	appfunctag: 'Auto31',
	resourcetag: '',
},
		{
	id: '53892de22c07aa648a0c4eaf3f028e82',
	name: 'menuitem38',
	text: '折扣表',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '折扣表',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-th-list',
	icon: '',
	textcls: '',
	appfunctag: 'Auto23',
	resourcetag: '',
},
		{
	id: 'e740ecc27ff2747961413f2b305718ff',
	name: 'menuitem31',
	text: '目标度量',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '目标度量',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-line-chart',
	icon: '',
	textcls: '',
	appfunctag: 'Auto28',
	resourcetag: '',
},
		{
	id: '40AFB32F-FDCB-4D2B-A8B6-2F1065D79841',
	name: 'menuitem44',
	text: '字典管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '字典管理',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cog',
	icon: '',
	textcls: '',
	appfunctag: 'Auto39',
	resourcetag: '',
},
	],
},
		{
	id: '8282C485-171B-4F74-A35B-83925308E493',
	name: 'menuitem53',
	text: '组织管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '组织管理',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cog',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: 'E4345614-CBA1-4A68-BFD3-55850064E654',
	name: 'menuitem54',
	text: '单位管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '单位管理',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cog',
	icon: '',
	textcls: '',
	appfunctag: 'Auto43',
	resourcetag: '',
},
		{
	id: '1962972A-8ACA-43D0-AF0F-96C44B2B0E28',
	name: 'menuitem55',
	text: '部门管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '部门管理',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cog',
	icon: '',
	textcls: '',
	appfunctag: 'Auto38',
	resourcetag: '',
},
		{
	id: '7A0D6DD1-1846-4E3F-BB3C-2C522B25CB7E',
	name: 'menuitem56',
	text: '人员管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '人员管理',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cog',
	icon: '',
	textcls: '',
	appfunctag: 'Auto33',
	resourcetag: '',
},
		{
	id: '25CCB3C2-2535-4A84-83C1-0E43ED9CA535',
	name: 'menuitem57',
	text: '岗位管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '岗位管理',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cog',
	icon: '',
	textcls: '',
	appfunctag: 'Auto25',
	resourcetag: '',
},
	],
},
		{
	id: '188D3EC6-9B18-4EAD-9F9E-7AA2E55ACD3B',
	name: 'menuitem17',
	text: '系统权限',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '系统权限',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cog',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: '4B79877B-065B-4BC8-809E-6066E2F0F993',
	name: 'menuitem40',
	text: '系统用户',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '系统用户',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cog',
	icon: '',
	textcls: '',
	appfunctag: 'Auto41',
	resourcetag: '',
},
		{
	id: '20CA88A4-AD2C-4F35-9CC8-0E96EA7372E2',
	name: 'menuitem41',
	text: ' 用户角色',
	type: 'MENUITEM',
	counterid: '',
	tooltip: ' 用户角色',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cog',
	icon: '',
	textcls: '',
	appfunctag: 'Auto35',
	resourcetag: '',
},
		{
	id: '8A12BF76-EA25-4F50-89DD-4EDDAB14CF43',
	name: 'menuitem42',
	text: '认证日志',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '认证日志',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cog',
	icon: '',
	textcls: '',
	appfunctag: 'Auto37',
	resourcetag: '',
},
		{
	id: 'EA69BCE7-1CE7-4E83-8C97-0A4C7CDC5189',
	name: 'menuitem43',
	text: '接入应用',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '接入应用',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cog',
	icon: '',
	textcls: '',
	appfunctag: 'Auto40',
	resourcetag: '',
},
	],
},
		{
	id: '945C4497-846D-49FA-A428-AA0A6BABBCB2',
	name: 'menuitem45',
	text: '任务管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '任务管理',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cog',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: '2190FD2E-BC6F-43A7-A72D-36DCA94FDE22',
	name: 'menuitem46',
	text: ' 任务注册',
	type: 'MENUITEM',
	counterid: '',
	tooltip: ' 任务注册',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cog',
	icon: '',
	textcls: '',
	appfunctag: 'Auto36',
	resourcetag: '',
},
		{
	id: 'E83CAA87-8659-4EF2-8D47-D4881A074986',
	name: 'menuitem47',
	text: ' 任务管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: ' 任务管理',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cog',
	icon: '',
	textcls: '',
	appfunctag: 'Auto20',
	resourcetag: '',
},
		{
	id: '9E7F0D04-1BF4-4972-8F66-C10E4ED1DB51',
	name: 'menuitem48',
	text: '任务日志',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '任务日志',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cog',
	icon: '',
	textcls: '',
	appfunctag: 'Auto34',
	resourcetag: '',
},
	],
},
		{
	id: '183DE402-3DD7-4D05-B33E-77AA9D2EC763',
	name: 'menuitem49',
	text: '流程管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '流程管理',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cog',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: 'C794FD4E-67D2-41A0-A7DD-81288E2BF731',
	name: 'menuitem50',
	text: '流程定义',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '流程定义',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cog',
	icon: '',
	textcls: '',
	appfunctag: 'Auto32',
	resourcetag: '',
},
		{
	id: 'C838A850-7FA6-455C-BF51-3385F8C89318',
	name: 'menuitem51',
	text: '流程角色',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '流程角色',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cog',
	icon: '',
	textcls: '',
	appfunctag: 'Auto44',
	resourcetag: '',
},
		{
	id: '8FF530DF-004C-4810-B845-A50B2F3B8301',
	name: 'menuitem52',
	text: '发布新流程',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '发布新流程',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cog',
	icon: '',
	textcls: '',
	appfunctag: 'Auto42',
	resourcetag: '',
},
	],
},
		{
	id: '99ec07537e66a1b9bf48c217f2f98f5b',
	name: 'menuitem34',
	text: '消息通知',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '消息通知',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-bell-o',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
		{
	id: 'cbb7e5badd9fc06ed968b3131c0cad4a',
	name: 'menuitem35',
	text: '帮助',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '帮助',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-question',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
	],
},
            {
	id: 'd9c980333990344f55261e46d543f682',
	name: 'left_exp',
	text: '左侧菜单',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '左侧菜单',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: 'c290b058dccd59dc492487c1e6f13097',
	name: 'menuitem18',
	text: '最近',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '最近',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-clock-o',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
		{
	id: 'f3d4f2e9b88c956ca15e3230636d4ce1',
	name: 'menuitem19',
	text: '固定',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '固定',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-thumb-tack',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
		{
	id: 'BCDCEAC8-4A33-4583-9125-31EF87B78B11',
	name: 'menuitem24',
	text: '组织权限管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '组织权限管理',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-lock',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: '248A43AF-C9B1-4EA8-AF7B-4477509691AD',
	name: 'menuitem60',
	text: '法人',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '法人',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-legal',
	icon: '',
	textcls: '',
	appfunctag: '_6',
	resourcetag: '',
},
		{
	id: 'E2512582-1D1F-4CA0-A6DE-A5ACE4B83520',
	name: 'menuitem58',
	text: '业务单位',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '业务单位',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-shirtsinbulk',
	icon: '',
	textcls: '',
	appfunctag: '_5',
	resourcetag: '',
},
		{
	id: '67A3F06D-8C83-4AC5-A7A5-2BD9F34F41FD',
	name: 'menuitem59',
	text: '部门',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '部门',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-folder',
	icon: '',
	textcls: '',
	appfunctag: '_4',
	resourcetag: '',
},
		{
	id: '6C2284E3-FAB5-40AF-8A35-00233503FE09',
	name: 'menuitem29',
	text: '组织层次',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '组织层次',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-tree',
	icon: '',
	textcls: '',
	appfunctag: '_2',
	resourcetag: '',
},
		{
	id: 'D4304080-B955-4CEC-ADB6-BF8036AE1EEA',
	name: 'menuitem61',
	text: '员工',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '员工',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-user',
	icon: '',
	textcls: '',
	appfunctag: '_3',
	resourcetag: '',
},
	],
},
	],
},
            {
	id: '1f3aa7ed08c771c43ef211f48f4e0fbf',
	name: 'bottom_exp',
	text: '底部内容',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '底部内容',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
            {
	id: '5a8c3fff88b801c4e47d5cab5019db8f',
	name: 'footer_left',
	text: '底部左侧',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '底部左侧',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
            {
	id: '54c31b90a4fa98f651176aa17f1f9b6f',
	name: 'footer_center',
	text: '底部中间',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '底部中间',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
            {
	id: 'c04d0da2c1b571e222b6b2ba725d0ac8',
	name: 'footer_right',
	text: '底部右侧',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '底部右侧',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
        ],
    }];
});

